/* components/deck-card-item/deck-card-item.component.wxss */
:host {
  display: flex;
  flex-direction: column;
}


.btn-bar {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0.25rem;

  .long {
    width: 10rem;
    margin: 0;
  }
}


.block {
  display: block;
  width: 100%;
  height: 1rpx;
}

.inline {
  display: inline;
  position: relative;
  word-break: break-all;

  .inline-text {
    font-size: 0.8rem;
    color: #333;
  }
}

.inline.img {
  display: inline-block;
  padding: 0 2px;
  height: 0.9rem;

  .inline-img {
    height: 0.9rem;
    vertical-align: middle;
  }
}

.detail {
  box-sizing: border-box;
  position: relative;
  width: 720rpx;
  padding: 10rpx;
  // height: 975rpx;

  .cover {
    width: 100%;
    height: 100%;
  }

  .info {
    position: absolute;
    left: 55rpx;
    width: 610rpx;
    min-height: 300rpx;
    bottom: 110rpx;
    display: inline-block;
    box-sizing: border-box;

    .card {
      box-sizing: border-box;
      min-height: 300rpx;
      width: 100%;
      border-radius: 4px;
      background-color: rgba($color: #000000, $alpha: 0.85);
      padding: 2px;
      border: 1px solid #333;
      line-height: 1.2em;
    }

    .inline {
      .inline-text {
        color: #dddddd;
      }
    }

  }

  .info.has-star {
    min-height: 0 !important;

    .card {
      min-height: 0 !important;
    }
  }

  .info.Active,
  .info.Raid,
  .info.Color,
  .info.Final {
    bottom: 190rpx;
    min-height: 220rpx;

    .card {
      min-height: 220rpx;
    }
  }

  .info.Color.Blue,
  .info.Color.Red {
    bottom: 155rpx;
    min-height: 255rpx;

    .card {
      min-height: 255rpx;
    }
  }


  .info.Get,
  .info.Draw,
  .info.Special {
    bottom: 155rpx;
    min-height: 255rpx;

    .card {
      min-height: 255rpx;
    }
  }

  .trigger {
    position: absolute;
    left: 55rpx;
    width: 610rpx;
    height: 45rpx;
    bottom: 115rpx;
    color: black;
    background-color: rgba($color: #dddddd, $alpha: 0.9);
  }

  .trigger.Final,
  .trigger.Active,
  .trigger.Raid,
  .trigger.Color.Purple,
  .trigger.Color.Yellow,
  .trigger.Color.Green {
    height: 75rpx;
  }

  .trigger-detail {
    padding: 2px;
    line-height: 1rem;
    height: 100%;
  }
}

.transparent {
  opacity: 0;
}